#pragma once

class Font;

class ICtrlTextSupport
{
public:
	ICtrlTextSupport();
	virtual ~ICtrlTextSupport();

	Font* GetFont();
	void SetFont(Font* font);
	void SetFonteByName(const std::string& name);

	const std::string& GetLabel() const;
	void SetLabel(const std::string& label);

	void ReadTextSupport(std::ifstream& file, const std::string& firstWord);

protected:
	Font* m_font;
	Color m_fontColor;
	std::string m_fontName;
	std::string m_label;
};